package com.xhxi.photobooker.config;

import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@MapperScan("com.xhxi.photobooker.mapper")
public class MyBatisPlusConfig {
    // 配置枚举类型处理器
    @Bean
    public MybatisPlusInterceptor mybatisPlusInterceptor() {
        // 其他配置...
        return new MybatisPlusInterceptor();
    }
}